<template>
  <el-card>
    北京春天医药科技发展有限公司 &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
    测试欢迎页
    欢迎 ！ IP: {{this.ip}} 朋友 登录系统！
    <remote-js src="http://pv.sohu.com/cityjson?ie=utf-8"></remote-js>
  </el-card>
  
</template>
<script>
export default {
  data() {
    return {
      ip: "",
      name: ""
    };
  },
  components: {
    "remote-js": {
      render(createElement) {
        return createElement("script", {
          attrs: { type: "text/javascript", src: this.src }
        });
      },
      props: {
        src: { type: String, required: true }
      }
    }
  },
  mounted() {},
  created() {
    this.ip = returnCitySN["cip"]
    console.log(returnCitySN["cip"])
  },
  methods: {}
};
</script>